<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/login.css">
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <script src="js/bootstrap.min.js"></script>
    <script src="js/jquery.min.js"></script>
    <script src="js/Cookie.js"></script>
    <script type="text/javascript">
        function kexiao(){
            location.href='${pageContext.request.contextPath}/register.jsp'
        }
    </script>
</head>
<body>
<div class="maxi">
    <div class="customer">
        <img src="img/logos.png" alt="">
        <span>在线客服</span>
    </div>
    <!-- 头部 -->
    <div class="li">
        <ul>
            <li><img src="img/logo.gif" alt=""></li>
            <li>${requestScope.sert}</li>
            <li>
                <img src="img/wei.png" alt="">
                <img src="img/QQ图片20211211183354.png" alt="">
                <img src="img/QQ图片20211211183417.png" alt="">
            </li>
        </ul>
    </div>
    <!-- 中间部分 -->
    <div class="zhog">
        <!-- 用户登录 -->
        <div class="deng" style="height: 360px">
            <ul>
                <li>用户登录</li>
                <li onclick="kexiao()">立即注册></li>
            </ul>
           <form method="post" action="${pageContext.request.contextPath}/LoginUserServlet?tuichu=false" style="padding: 20px;margin-top: -20px" >
               <div class="form-group">
                   <label for="username">邮箱\手机号</label>
                   <input type="type" class="form-control" id="username" name="username" aria-describedby="emailHelp">
               </div>
               <div class="form-group">
                   <label for="password">密码</label>
                   <input type="password" class="form-control" id="password" name="password">
               </div>
               <c:if test="${requestScope.name!=null}">
                   <div style="width: 100%;height: 30px;color: red;line-height: 30px">${requestScope.name}</div>

               </c:if>
               <button type="submit" class="btn btn-primary">提交</button>
           </form>
        </div>
    </div>
    <!-- 尾部 -->
    <div class="yang">
        <ul>
            <li>网站简介</li>
            <li>联系我们</li>
            <li>招商合作</li>
            <li>用户协议</li>
            <li>隐私政策</li>
            <li>投诉建议</li>
        </ul>

        <p>Copyright 2012 - 2021 www.huitouyu.com. All rights reserved. 回头鱼商城版权所有</p>

        <div class="pao">
            <div class="pei"><img src="img/yin.png" alt=""></div>
            <div class="pei11"><img src="img/zhi.png" alt=""></div>
            <div class="pei11"><img src="img/wang.png" alt=""></div>
            <div class="pei11"><img src="img/zhong.png" alt=""></div>
            <div class="pei11"><img src="img/360.png" alt=""></div>
        </div>
    </div>
</div>
</body>
</html>
